#ifndef _LED_H_
#define _LED_H_

#define STATUS_LED_OFF		0
#define STATUS_LED_ON		1

#define LED_A	0x1
#define LED_B	0x2
#define LED_C	0x3
#define LED_D	0x4

#define LED_CONF(index) (0x01 << ((index)*2))
#define LED_STATE_CONF(index, on) ((on) << (index))
#define LED_STATE_MASK(index) ~(0x1 << (index))
#define LED_CTRL_MASK(index) ~(0x3 << ((index)*2))

void led_ctrl(int index, int state);

#endif	/* _LED_H_ */
